package Skill;

public class Random {
    public static void main(String[] args) {

    }
    public static int rand1To5(){
        return (int) (Math.random()*5)+1;
    }
    public static int ran1To7(){
        int num =0;
         do {
             num = (rand1To5()-1)*5+rand1To5()-1;
         }while (num>20);
         return num%7+1;
    }

}
